<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>API: connection   (YUI Library)</title>
	
	<link rel="shortcut icon" href="assets/yui_icon.ico" type="image/x-icon" />
	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
	<link rel="stylesheet" type="text/css" href="assets/api.css" />

    <script type="text/javascript" src="assets/api-js"></script>
    <script type="text/javascript" src="assets/ac-js"></script>
</head>

<body id="yahoo-com">

<div id="doc3" class="yui-t2">
	<div id="hd">
        <h1>
        	<a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a>
        	<img src="assets/yui_icon.png" alt="YUI文档中文化" />
        </h1>
        <h3>connection&nbsp; <span class="subtitle">2.7.0b</span></h3>
        <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
            &gt; <a href="./module_connection.html" title="connection">connection</a>
                
                
        <form onsubmit="return false">
            <div id="propertysearch">
                搜索: <input autocomplete="off" id="searchinput" />
                <div id="searchresults">
                    &nbsp;
                </div>
            </div>
        </form>
	</div>

	<div id="bd">
		<div id="yui-main">
			<div class="yui-b">
            <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
                <fieldset>
                    <legend>Filters</legend>
                <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
                <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
                <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
                </fieldset>
            </form>

                   
                    <h3>模块：connection
                    


                    </h3>
                    <div class="description summary">
                        Connection管理器提供了一个访问XMLHttpRequest对象的简单操作接口。
它创建一个跨浏览器的XMLHttpRequest实例，处理交互状态和服务器响应，并将响应信息传入用户定义的回调函数中。
                    </div>



                <div class="yui-gc">
                    <div class="yui-u first">

                            <p>本模块包含以下类：</p>
                            <script>
                            //var YUI_CLASS_LIST = [{"extends": {"superclass": {}, "events": {}, "configs": {}, "properties": {}, "methods": {}}, "description": "Config \u662f\u901a\u8fc7\u5bf9\u65b0\u6765\u7ba1\u7406\u672c\u5730\u914d\u7f6e\u53c2\u6570\u5e76\u76d1\u542c\u5b83\u4eec\u53d8\u5316\u7684\u5de5\u5177\u3002\n\u8fd8\u53ef\u4ee5\u7ba1\u7406\u5b83\u4eec\u7684\u521d\u59cb\u503c\uff0c\u4ee5\u4fbf\u53ef\u4ee5\u5728\u4efb\u4f55\u65f6\u95f4\u521d\u59cb\u5316\u914d\u7f6e\u53c2\u6570\u3002", "guessedname": "Config", "name": "YAHOO.util.Config"}, {"extends": {"superclass": {}, "events": {}, "configs": {}, "properties": {}, "methods": {}}, "description": "Connection\u7ba1\u7406\u5668\u5355\u4f8b\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u521b\u5efa\u548c\u7ba1\u7406\u5f02\u6b65\u4f20\u8f93\u7684\u65b9\u6cd5\u3002", "guessedname": "Connect", "name": "YAHOO.util.Connect"}];
                            </script>
                            <div id="splash_classList">
                                <ul>
                                    <li><a href="YAHOO.util.Config.html" title="YAHOO.util.Config" id="class_0">Config</a></li>
                                    <li><a href="YAHOO.util.Connect.html" title="YAHOO.util.Connect" id="class_1">Connect</a></li>
                                </ul>
                            </div>
                    </div>
                    <div class="yui-u">

                        </div>
                </div>

			</div>
		</div>
		<div class="yui-b">
            <div class="nav">

                    <div id="moduleList" class="module">
                        <h4>模块</h4>
                        <ul class="content">
                                <li class=""><a href="module_animation.html" title="animation">animation</a></li>
                                <li class=""><a href="module_autocomplete.html" title="autocomplete">autocomplete</a></li>
                                <li class=""><a href="module_button.html" title="button">button</a></li>
                                <li class=""><a href="module_calendar.html" title="calendar">calendar</a></li>
                                <li class=""><a href="module_carousel.html" title="carousel">carousel</a></li>
                                <li class=""><a href="module_charts.html" title="charts">charts</a></li>
                                <li class=""><a href="module_colorpicker.html" title="colorpicker">colorpicker</a></li>
                                <li class="selected"><a href="module_connection.html" title="connection">connection</a></li>
                                <li class=""><a href="module_container.html" title="container">container</a></li>
                                <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
                                <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
                                <li class=""><a href="module_datatable.html" title="datatable">datatable</a></li>
                                <li class=""><a href="module_datemath.html" title="datemath">datemath</a></li>
                                <li class=""><a href="module_dom.html" title="dom">dom</a></li>
                                <li class=""><a href="module_dragdrop.html" title="dragdrop">dragdrop</a></li>
                                <li class=""><a href="module_editor.html" title="editor">editor</a></li>
                                <li class=""><a href="module_element.html" title="element">element</a></li>
                                <li class=""><a href="module_event.html" title="event">event</a></li>
                                <li class=""><a href="module_get.html" title="get">get</a></li>
                                <li class=""><a href="module_history.html" title="history">history</a></li>
                                <li class=""><a href="module_imagecropper.html" title="imagecropper">imagecropper</a></li>
                                <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
                                <li class=""><a href="module_json.html" title="json">json</a></li>
                                <li class=""><a href="module_layout.html" title="layout">layout</a></li>
                                <li class=""><a href="module_logger.html" title="logger">logger</a></li>
                                <li class=""><a href="module_menu.html" title="menu">menu</a></li>
                                <li class=""><a href="module_paginator.html" title="paginator">paginator</a></li>
                                <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
                                <li class=""><a href="module_profilerviewer.html" title="profilerviewer">profilerviewer</a></li>
                                <li class=""><a href="module_resize.html" title="resize">resize</a></li>
                                <li class=""><a href="module_selector.html" title="selector">selector</a></li>
                                <li class=""><a href="module_slider.html" title="slider">slider</a></li>
                                <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
                                <li class=""><a href="module_tabview.html" title="tabview">tabview</a></li>
                                <li class=""><a href="module_treeview.html" title="treeview">treeview</a></li>
                                <li class=""><a href="module_uploader.html" title="uploader">uploader</a></li>
                                <li class=""><a href="module_yahoo.html" title="yahoo">yahoo</a></li>
                                <li class=""><a href="module_yuiloader.html" title="yuiloader">yuiloader</a></li>
                                <li class=""><a href="module_yuitest.html" title="yuitest">yuitest</a></li>
                        </ul>
                    </div>

                    <div id="classList" class="module">
                        <h4>类</h4>
                        <ul class="content">
                                <li class=""><a href="YAHOO.util.Config.html" title="YAHOO.util.Config">YAHOO.util.Config</a></li>
                                <li class=""><a href="YAHOO.util.Connect.html" title="YAHOO.util.Connect">YAHOO.util.Connect</a></li>
                        </ul>
                    </div>

                    <div id="fileList" class="module">
                        <h4>文件</h4>
                        <ul class="content">        
                                <li class=""><a href="connection.js.html" title="connection.js">connection.js</a></li>
                        </ul>
                    </div>





            </div>
		</div>
	</div>
	<div id="ft">
        <hr />
        Copyright &copy; 2009 Yahoo! Inc. All rights reserved.
	</div>
</div>
<script type="text/javascript">
    ALL_YUI_PROPS = [{"url": "YAHOO.util.Connect.html#method_abort", "access": "", "host": "YAHOO.util.Connect", "type": "method", "name": "abort"}, {"url": "YAHOO.util.Config.html#method_addProperty", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "addProperty"}, {"url": "YAHOO.util.Config.html#method_applyConfig", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "applyConfig"}, {"url": "YAHOO.util.Connect.html#method_asyncRequest", "access": "", "host": "YAHOO.util.Connect", "type": "method", "name": "asyncRequest"}, {"url": "YAHOO.util.Config.html#method_checkBoolean", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "checkBoolean"}, {"url": "YAHOO.util.Config.html#method_checkNumber", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "checkNumber"}, {"url": "YAHOO.util.Config.html#event_configChangedEvent", "access": "", "host": "YAHOO.util.Config", "type": "event", "name": "configChangedEvent"}, {"url": "YAHOO.util.Config.html#method_destroy", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "destroy"}, {"url": "YAHOO.util.Config.html#method_fireQueue", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "fireQueue"}, {"url": "YAHOO.util.Config.html#method_getConfig", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "getConfig"}, {"url": "YAHOO.util.Config.html#method_getProperty", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "getProperty"}, {"url": "YAHOO.util.Config.html#method_init", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "init"}, {"url": "YAHOO.util.Connect.html#method_initHeader", "access": "", "host": "YAHOO.util.Connect", "type": "method", "name": "initHeader"}, {"url": "YAHOO.util.Connect.html#method_isCallInProgress", "access": "", "host": "YAHOO.util.Connect", "type": "method", "name": "isCallInProgress"}, {"url": "YAHOO.util.Config.html#method_outputEventQueue", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "outputEventQueue"}, {"url": "YAHOO.util.Config.html#property_owner", "access": "", "host": "YAHOO.util.Config", "type": "property", "name": "owner"}, {"url": "YAHOO.util.Config.html#property_queueInProgress", "access": "", "host": "YAHOO.util.Config", "type": "property", "name": "queueInProgress"}, {"url": "YAHOO.util.Config.html#method_queueProperty", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "queueProperty"}, {"url": "YAHOO.util.Config.html#method_refireEvent", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "refireEvent"}, {"url": "YAHOO.util.Config.html#method_refresh", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "refresh"}, {"url": "YAHOO.util.Connect.html#method_resetDefaultHeaders", "access": "", "host": "YAHOO.util.Connect", "type": "method", "name": "resetDefaultHeaders"}, {"url": "YAHOO.util.Config.html#method_resetProperty", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "resetProperty"}, {"url": "YAHOO.util.Connect.html#method_setDefaultPostHeader", "access": "", "host": "YAHOO.util.Connect", "type": "method", "name": "setDefaultPostHeader"}, {"url": "YAHOO.util.Connect.html#method_setDefaultXhrHeader", "access": "", "host": "YAHOO.util.Connect", "type": "method", "name": "setDefaultXhrHeader"}, {"url": "YAHOO.util.Connect.html#method_setForm", "access": "", "host": "YAHOO.util.Connect", "type": "method", "name": "setForm"}, {"url": "YAHOO.util.Connect.html#method_setPollingInterval", "access": "", "host": "YAHOO.util.Connect", "type": "method", "name": "setPollingInterval"}, {"url": "YAHOO.util.Connect.html#method_setProgId", "access": "", "host": "YAHOO.util.Connect", "type": "method", "name": "setProgId"}, {"url": "YAHOO.util.Config.html#method_setProperty", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "setProperty"}, {"url": "YAHOO.util.Config.html#method_subscribeToConfigEvent", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "subscribeToConfigEvent"}, {"url": "YAHOO.util.Config.html#method_toString", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "toString"}, {"url": "YAHOO.util.Config.html#method_unsubscribeFromConfigEvent", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "unsubscribeFromConfigEvent"}, {"url": "YAHOO.util.Config.html#method_YAHOO.util.Config.alreadySubscribed", "access": "", "host": "YAHOO.util.Config", "type": "method", "name": "YAHOO.util.Config.alreadySubscribed"}];
</script>
</body>
</html>
